package <render>packageName</render>;

import com.beiding.my.common.query.FieldSelf;

public class <render>className</render> {
    public final FieldSelf id;
    <block v-repeat="field in fields">
    public final FieldSelf <render>field.name</render>;
    </block>
    <block v-repeat="quote in quotes">
    public final <render>quote.type.name</render>TypeSelf <render>quote.name</render>;
    </block>
    <render>className</render>() {
        id = new FieldSelf("id");
        <block v-repeat="field in fields"><render>field.name</render> = new FieldSelf("<render>field.name</render>");</block>
        <block v-repeat="quote in quotes"><render>quote.name</render> = new <render>quote.type.name</render>TypeSelf("<render>quote.name</render>");</block>
    }
    <render>className</render>(String holder) {
        id = new FieldSelf("id");
        <block v-repeat="field in fields"><render>field.name</render> = new FieldSelf(holder + ".<render>field.name</render>");</block>
        <block v-repeat="quote in quotes"><render>quote.name</render> = new <render>quote.type.name</render>TypeSelf(holder + ".<render>quote.name</render>");</block>
    }
}
